home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / mosaic / Makefile.DIST < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.1 KB  |  42 lines

  1. ################################################################
  2. ## begin configuration stuff                                  ##
  3. ## (see the README file for details)                          ##
  4. ################################################################
  5.  
  6. ## to enable logging, define the symbol LOGGING and define
  7. ## LogDir to be the absolute path of the log directory
  8.  
  9. ## ScoreFile - absolute path of the high score file location
  10. ## (Edit this as appropriate for your local environment.)
  11. ##
  12. DEFS    = -DScoreFile=\"/u/tuna/src/mosaic/mosaic.scores\"
  13.  
  14. ################################################################
  15. ## end configuration stuff                                    ##
  16. ################################################################
  17.  
  18. RM    = /bin/rm
  19.  
  20. CFLAGS    = $(DEFS)
  21.  
  22. PROG    = mosaic
  23. SRCS     = mosaic.c x11.c
  24. OBJS    = mosaic.o x11.o
  25. LIBS    = -lX11
  26.  
  27. DIST    = README HISTORY Imakefile Makefile.DIST *.[ch] *.man mosaic.scores
  28.  
  29. all:        $(PROG)
  30.  
  31. $(PROG):    $(OBJS)
  32.     $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS)
  33.  
  34. tarfile:
  35.     -$(RM) $(PROG).tar*
  36.     tar cvf $(PROG).tar $(DIST)
  37.     compress -v $(PROG).tar
  38.  
  39. sharfile:
  40.     -$(RM) $(PROG).shar*
  41.     shar -x -o $(PROG).shar $(DIST)
  42.